// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.symbian 1.1

Item {
    width: 100; height: childrenRect.height

    property alias valor: selOperador.subTitle

    SelectionListItem {
        id: selOperador
        width: parent.width        
        subTitle: selOperadorList.model[0]
        onClicked: selOperadorList.open();
    }

    SelectionDialog {
        id: selOperadorList
        titleText: "Selecione o operador"
        model: ["=", "!="]
        onAccepted: {
            selOperador.subTitle = selOperadorList.model[selOperadorList.selectedIndex];
        }
    }
}
